﻿using FluentNHibernate.Mapping;

namespace BoneSystem.Business.Entity
{
    class PropertiesBaseMap: ClassMap<PropertiesBase>
    {
        public PropertiesBaseMap()
        {
            Id(x => x.Id).Not.Nullable().Unique().GeneratedBy.Sequence("sq_properties_base");

            Map(x => x.DataInclusao).Not.Nullable();

            Map(x => x.DataAlteracao).Not.Nullable();

            Map(x => x.Status).Not.Nullable();
        }
    }
}
